package opp.Abstract.RentCar;

public class Limousine extends Vickie{
    //轿车
    int seats;

    public Limousine(int seats) {
        this.seats = seats;
    }

    public int getSeats() {
        return seats;
    }

    public void setSeats(int seats) {
        this.seats = seats;
    }

    @Override
    double CountFee(int days) {
        double Fee=0;
        if (seats<=5)
        {
            Fee=120*days;
        }else
        {
            Fee=150*days;
        }
        return Fee;
    }
}
